﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace bci2.GameEngine
{
    abstract class Sprite
    {
        /*  Proprietà */
        protected List<table> rows;
        protected List<table> cols;
        protected Vector2 pos_mat;
        /*  Metodi    */
        public Sprite(  List<table> rows, 
                        List<table> cols,
                        Vector2 pos_mat)
        {
                        this.rows = rows;
                        this.cols = cols;
                        this.pos_mat = pos_mat;

        }
        public virtual void Update(GameTime gameTime)
        {



        }
        public virtual void Draw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            //spriteBatch.Draw(matrix, pos_mat, Color.White);
        }
        /*   Classe astratta per implementare diverse tipologie di matrice   */

        public Vector2 Pos_mat
        {
            get { return pos_mat; }
            set { pos_mat = value; }
        }

        public List<table> Rows
        {
            get { return rows; }
            set { rows = value; }
        }

        public List<table> Cols
        {
            get { return cols; }
            set { cols = value; }
        }
    }
}
